package com.llh.demo4shiro.repository.relation;

import com.llh.demo4shiro.model.relation.RoleAuthority;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>CreatedAt: 2020/9/16 15:27</p>
 *
 * @author llh
 */
@Repository
public interface RoleAuthorityRepo extends JpaRepository<RoleAuthority, Integer> {
    List<RoleAuthority> findByRoleIdIn(List<Integer> roleIds);
}
